export const IS_LOGIN = "IS_LOGIN";
export const SET_USER_DATA = "SET_USER_DATA";


export const checkIsLogin = (isLogin, isRender=false) => {
    return {
        type: IS_LOGIN,
        isLogin,
        isRender
    }
}

export const setUserData = (userData) => {
    return {
        type: SET_USER_DATA,
        userData
    }
}